#include <stdio.h>
#include <string.h>

int main() {
	int m, n = 0;
	char a[40], b[40];
	gets (a);
	m = strlen(a);
	m--;
	while (m >= 0) {
		b[n] = a[m];
		m--, n++;
	}
	b[n] = '\0';
	if (strcmp(a, b))
		printf("%s: is not a Palindrome string!", a);
	else
		printf("%s: is Palindrome string!", a);
}
